import random
c=0
k=int(input())
for i in range(k):
    x = random.randint(-100,100)
    y = random.randint(-100,100)
    if x>=0 and y>=0:
        if x>=5 and y>=0:
            c=c+1
    if x<=0 and y>=0:
        if x<=-7 and y<=5:
             c=c+1
    if x<=0 and y<=0:
        if x<=0 and y>=-8:
             c=c+1
    if x>=0 and y<=0:
        if x<=5 and y>=5:
             c=c+1

print("количество выстрелов:",k)
print("количество количество:",c)












































